package com.atguigu.common.base;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public abstract class BaseModel implements Serializable, Cloneable {
    private static final long serialVersionUID = 4696496398028693739L;

    @TableField("del_flag")
    @TableLogic
    @ApiModelProperty("删除标记(0:未删除 1:已删除 默认:0)")
    protected String delFlag;

}
